﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;

namespace VictorBlaga.DocumentManagement.Infrastructure.DataAccess
{
    public abstract class NHibernateRepository
    {
        protected ISession Session { get; private set; }

        protected NHibernateRepository()
        {
            Session = NHibernateHelper.Instance.BeginSession();
        }
    }
}